package com.example.qxfw.nyqx.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.ny.SrvProductTemplate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@DS("service")
public interface SrvProductTemplateMapper extends BaseMapper<SrvProductTemplate> {

    @Select("select templatename, templatepath " +
            "from srv_product_template " +
            "where templatetype='${templatetype}' ")
    List<SrvProductTemplate> getList(String templatetype);
}
